package com.itheima.exerciseTest.method01_09.method2;

public class Test {
    public static void main(String[] args) {
        ProjectManager pm = new ProjectManager();
        pm.setId("itheima001");
        pm.setName("张帆");
        pm.setSalary(50000);
        pm.setBonus(50000);
        pm.work();

        Programmer p = new Programmer();
        p.setId("itheima002");
        p.setName("张三");
        p.setSalary(15000);
        p.work();
    }
}
